//
//  CTSetView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/4/28.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    CTSetViewInviteTypeWechatSession = 1,
    CTSetViewInviteTypeWechatFriendCircle ,
    CTSetViewInviteTypeSinaWeibo,
    CTSetViewInviteTypeQQSpace,
    CTSetViewInviteTypeQQSession,
    
}CTSetViewInviteType;

@protocol CTSetViewDelegate;

@interface CTSetView : UIView
@property (nonatomic, assign)id<CTSetViewDelegate>delegate;
@property(nonatomic,copy,setter=setCache:)NSString * cacheText;
@property(nonatomic,assign,setter=setIsLogin:)BOOL isLogin;
@property(nonatomic,assign,setter=setNotication:) BOOL  notication;

@end


@protocol CTSetViewDelegate <NSObject>

@optional
//设置个人资料
-(void)setPersonalProfileBtnAction:(CTSetView *)view;
//返回按钮事件回调
- (void)setViewBackButton:(CTSetView *) view;
//成为认证画师
- (void)setViewCertificationBtnAction:(CTSetView *) view;
//评论应用
- (void)setViewCommentBtnAction:(CTSetView *) view;
//通知开关
- (void)setViewNoticationBtnAction:(CTSetView *) view noticationBool:(BOOL)noticBool;
//清理缓存
- (void)setViewClearCacheBtnAction:(CTSetView *) view;
//关于
- (void)setViewAboutBtnAction:(CTSetView *) view;
//意见反馈
- (void)setViewOpinionBtnAction:(CTSetView *) view;
//退出
- (void)setViewExitBtnAction:(CTSetView *) view;

@end

